body{
  margin: 0;
  padding: 0;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
  margin: 0;
  line-height: 30px;
  &:link,&:visited,&:active{
    color: #fff;
    font-size: 10pt;
  }
  &:hover{
    font-size: 12pt;
  }
}
.container{
  min-height: 500px;
  margin: 0 auto;
  @media(min-width: 800px)
  {
    width: 800px;
    min-height: 500px;
  }
  nav{
    background: linear-gradient(black,#eee);
    >a{
    @media(min-width: 800px){
      display: none;
    }
    @media(max-width: 799px){
      display: block;
    }
    }
    >ul{
      @media(max-width: 799px){
        display: block;
        .open{
          display: none;
        }
      }
      >li{
        @media(min-width: 800px){
          display: inline-block;
          position: relative;
          &:hover{
            >ul{
              display: block;
            }
          }
        }



          /*二级菜单*/
        >ul{
          @media(min-width: 800px){
            display: none;
            width: 100px;
            position: absolute;
            background: linear-gradient(black,#eee);
          }

          @media(max-width: 799px){
            display: block;
            .open{
              display: none;
            }

          }
          >li{
            @media(min-width: 800px){
              display: inline-block;
              position: relative;
              &:hover{
                >ul{
                  display: block;
                }
              }
            }
            >ul{
              @media(min-width: 800px){
                display: none;
                width: 80px;
                position: absolute;
                background: linear-gradient(to right, black,#eee);
                left: 100px;
                top: 0;
              }
              @media(max-width: 799px){
                display: block;
                .open{
                  display: none;
                }
              }
            }
          }
        }
      }
      .open{
        display: none;
      }
    }
  }

  /*产品列表*/
  .project-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    h1{
      width: 100%;
    }
    .project{
      text-align: center;
      width: 100px;
      height: 150px;
      margin: 8px;
      border: 1px solid #f00;

      img{
        width: 80px;
        height: 100px
      }
      h2{
        margin: 0;
        font-size: 14pt;
      }
      p{
        margin: 2px;
        font-size: 10pt;
      }
    }
  }
}
